<template>
    <comp2>
        <!-- <template v-slot="{ Count }"> </template> -->
        <div>Comp</div>
        <slot :Count="Count"></slot>
    </comp2>
</template>
<script setup>
import { provide, ref } from "vue";
import comp2 from "./comp2.vue";

const Count = ref(0);
provide("Count", Count);
</script>
<style lang="less" scoped></style>
